|
|
|
|
- Range of identifiers
- Replication and log process
<Source>.InitSubscriber (Function) In french: <Source>.InitAbonné
Available only with these kinds of connection
Initializes the range of automatic identifiers for the description file of subscriber replica (".rpl" extension). This function can be used with log-based replication only. The range of automatic identifiers is initialized: <Source>.InitSubscriber must be called only when the data files are installed on the subscriber. Caution: The data files must be opened before using <Source>.InitSubscriber.
Customer.InitSubscriber("C:\DATA\Replic\ParisSubscriber.rpl")
Syntax
<Result> = <Source>.InitSubscriber(<Subscriber Replica>)
<Result>: Boolean - True if the initialization was performed,
- False if an error occurred. HErrorInfo is used to identify the error.
<Source>: Type corresponding to the specified source Name of HFSQL data file to use. <Subscriber Replica>: Character string Name and full path of subscriber replica. This parameter can correspond to a UNC path. Remarks Range of identifiers The automatic identifiers for the files of subscriber replicas are using a range of identifiers that differs from the one used by the file of master replica and by the other files of subscriber replicas. This range of automatic identifiers is written in the header of each data file (".fic" extension). This range is initialized: Replication and log process Reminder: Log-based replication uses logs and operation tables of data files. Log-based replication does not work if the location of the logs and operation tables is invalid.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|